<?php
namespace app\common\command;

use think\console\Command;
use think\console\Input;
use think\console\input\Argument;
use think\console\input\Option;
use think\console\Output;

class Btc extends Command
{
    protected function configure()
    {
        $this->setName('getBtc')
        	->setDescription('抓取btc');
    }

    protected function execute(Input $input, Output $output)
    {
        model('reptile/reptile', 'service')->btc_address();
        $output->writeln("getBtc end！".date('Y-m-d H:i:s'));
    }
}